include ../common.mk 

SOURCE=$(wildcard ./*.cc) $(wildcard ./*.c) $(wildcard ./*.S)
HEADER=$(wildcard ./*.h) 
FILES=$(HEADER) $(SOURCE)

AllTest = test_receiver

all: $(AllTest)

%.o: %.c
	$(CC) $(CFLAGS) $(INCLUDE_PATH) -c $^ -o $@

$(AllTest): $(FILES)
	$(CC) $(CFLAGS) $(INCLUDE_PATH) $(LIB_PATH) $(FEVENT_LIB) $^ -o $@

clean:
	rm -rf *.o
	rm -rf $(AllTest)
